package com.itany.corejava.code07_面向对象.封装;

import java.util.Arrays;

/**
 * @author MissChen
 * @version 1.0
 * @date 2023 年11月02日 11:49
 */
public class TestPoker {
    public static void main(String[] args) {
        Poker poker=new Poker();
        Card[] cards=poker.getCards();
        for(Card card:cards){
            System.out.println(card.getColor()+card.getNum());
        }
        System.out.println("============================");
        poker.shuffleCards();
        cards=poker.getCards();
        for(Card card:cards){
            System.out.print(card.getColor()+card.getNum()+"\t");
        }
    }
}
